<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>login.jsp</title>
</head>
<body>
	<%
		//로그인 정보가 기억되어 있는 세션정보를 취득
		String sessionID = (String) session.getAttribute("mid");
		if (sessionID == null || sessionID == "") {
	%>
	<!-- 로그인 전 페이지 -->

	<form name='loginFrm' method='post' action='index2.jsp?inc_content=./jsp/login_result.jsp'>

		<label>Login : </label><input type="text" name='mid'><br /> 
		<label>Password : </label><input type="password" name='pwd'>
		<p />
		<input type="submit" value='로그인'>
	</form>
	<p />
	<%
		}
	%>
</body>
</html>